package com.cyf.util;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

public class IllegalQueryRule {
    @JsonProperty("Cities")
    private List<CityRule> cities;
    @JsonProperty("ProvinceID")
    private int provinceID;
    @JsonProperty("ProvinceName")
    private String provinceName;
    @JsonProperty("ProvincePrefix")
    private String provincePrefix;

    public List<CityRule> getCities() {
        return cities;
    }

    public void setCities(List<CityRule> cities) {
        this.cities = cities;
    }

    public int getProvinceID() {
        return provinceID;
    }

    public void setProvinceID(int provinceID) {
        this.provinceID = provinceID;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getProvincePrefix() {
        return provincePrefix;
    }

    public void setProvincePrefix(String provincePrefix) {
        this.provincePrefix = provincePrefix;
    }

    @Override
    public String toString() {
        return "IllegalQueryRule{" +
                "cities=" + cities +
                ", provinceID=" + provinceID +
                ", provinceName='" + provinceName + '\'' +
                ", provincePrefix='" + provincePrefix + '\'' +
                '}';
    }
}
